package io.vector.study.springboot.api;

import lombok.Getter;

/**
 * Created by vector on 2017/4/28.
 */
@Getter
public class ApiException extends RuntimeException {

    private final int code;

    private final String message;

    public ApiException(int code, String message) {
        super();
        this.code = code;
        this.message = message;
    }

}
